The Dreamweaver JavaScript API > Clipboard functions > dom.clipPasteText() |
![]() ![]() ![]() |
Availability
Dreamweaver 3.0
Description
Pastes the contents of the clipboard into the current document at the current insertion point or in place of the current selection, replacing any linefeeds in the clipboard content with BR
tags. If the clipboard contains HTML, it is not interpreted; angle brackets are pasted as <
and >
.
Arguments
None.
Returns
Nothing.
Enabler
Example
If the clipboard contains <code>return true;</code>
, a call to dw.getDocumentDOM().clipPasteText()
would result in the following:
![]() ![]() ![]() |